package cn.exlu.wxcall.adapter;

import cn.exlu.wxcall.util.StringUtil;

public class UserInfo {
	private String userName;
	private String userPhone;
	private String userPic;
	
	public UserInfo(String info){
		if(StringUtil.isNullOrEmpty(info)){
			return;
		}
		
		String[] strs = info.split("###");
		
		if(strs.length ==3){
			userPhone = strs[0];
			userName = strs[1];
			userPic = strs[2];
		}
		
		
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getUserPic() {
		return userPic;
	}

	public void setUserPic(String userPic) {
		this.userPic = userPic;
	}

}
